public class DateOne {
    public int year;
    public int month;
    public int day;
    public DateOne(int year,int month,int day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }
    public void printDate() {
        System.out.println(year + "-" +month + "-" +day);
    }
    public void DateOne(int year,int month,int day,int second){
//        this(1900,1,1,1);
    }

    public static void main(String[] args) {
        DateOne d = new DateOne(11,22,33);
        d.printDate();
    }
}
